package com.mccrea.pattern.adapter.classadapter;

/**
 * @Classname Clinet
 * @Description 客户端
 * @Date 2021/5/8 0008 15:19
 * @Created by Mccrea_Gao
 */
public class Clinet {
    public static void main(String[] args) {
        System.out.println("===== 类适配器 =====");
        Phone phone = new Phone();
        phone.charge(new VoltageAdapter());
    }
}
